package com.smart.manager.finance.entities.enums;


import com.smart.common.annotation.DictEnum;
import com.smart.common.entities.constant.TagColor;
import com.smart.common.entities.core.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 订单支付状态
 *
 * @author Xiaxuqiu
 * @date 2022/10/17
 */

@Getter
@DictEnum(title = "支付状态")
@AllArgsConstructor
public enum PayState implements BaseEnum {
    /**
     * label 文字描述 value数据库存储 theme=前端颜色皮肤
     */

    NOT_PAID("未支付", TagColor.DEFAULT),
    PAID("已支付", TagColor.GREEN),
    REFUNDABLE("已退款", TagColor.RED),
    CANCEL("已取消", TagColor.BLUE);

    private final String label;


    private final String theme;


}
